import requests


class IhrmLogin:
    @classmethod
    def login(cls, req_body):
        req_url = 'http://ihrm-test.itheima.net/api/sys/login'
        res = requests.post(url=req_url, json=req_body)
        print("相应数据==", res)
        return res
